package com.sky.mapper.user;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sky.entity.ShoppingCart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShoppingCartMapper extends BaseMapper<ShoppingCart> {
    List<ShoppingCart> getShoppingCartItems(Long userId);

    void cleanShoppingCart(Long userId);

    void removeShoppingCartItem(ShoppingCart searchedShoppingCart);
}



